<?php
Route::group([
	'prefix' => 'share',
	'namespace' => 'Share'
], function () {
	Route::group([
		'prefix' => 'shares',
	], function () {
		// 用户管理列表
		Route::get('/', 'SharesController@index')->name('admin.share.shares');
		Route::get('/change/{id}', 'SharesController@change')->name('admin.share.shares.change');
		// 添加分享
		Route::get('/add', 'SharesController@add')->name('admin.share.shares.add');
		// 编辑分享
		Route::get('/edit/{id}', 'SharesController@edit')->name('admin.share.shares.edit');
		Route::get('/delete/{id}', 'SharesController@delete')->name('admin.share.shares.delete');
		
		// 保存分享信息
		Route::post('/save', 'SharesController@save')->name('admin.share.shares.save');

	});
});